package com.zj.recyclerviewdemo.mvp;

import com.zj.recyclerviewdemo.base.BasePresenter;
import com.zj.recyclerviewdemo.base.BaseView;
import com.zj.recyclerviewdemo.bean.Item;

import java.util.List;

/**
 * Created by Lenovo on 2017/4/26.
 */

public class MainContract {

    public interface View extends BaseView<Presenter> {
        void initViews();

        void showData(List<Item> itemList);

        void showRefreshData(List<Item> itemList);

        void addRefreshData(List<Item> itemList);
    }

    public interface Presenter extends BasePresenter {
        void getData();

        void getRefreshData();

        void getPullUpRefreshData();
    }
}
